#ifndef MONITORINGTOOL_H
#define MONITORINGTOOL_H

#include <QObject>
#include <QSettings>
#include <QDateTime>

class MonitoringTool : public QObject
{
    Q_OBJECT
public:
    explicit MonitoringTool(QObject *parent = nullptr);
    static void setStlyeSheet(const QString &);
    QString readData(const QString&);
    void writeData(const QString&,const QString&);
    static bool isPhoneNumberValid(const QString &phoneNumber);
    static QString getNowTimes();

signals:
private:
    QSettings *m_set;
};

#endif // MONITORINGTOOL_H
